<!DOCTYPE html>
<html>

	<head>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta charset="utf-8" />
		<title></title>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<style type="text/css">
			body {
				margin: 0;
				padding: 0;
				font-family: "microsoft yahei";
				min-width: 320px;
				max-width: 640px;
				margin: 0 auto;
				font-size: 14px;
			}
			
			.ss {
				overflow: hidden;
				line-height: 45px;
				position: relative;
			}
			
			.ss div {
				width: 50%;
				float: left;
				text-align: center;
				box-sizing: border-box;
			}
			
			.ss div:nth-child(1) {
				border-right: 1px #f2f2f2 solid;
			}
			
			.ss .ac {
				/*border-bottom: 1px dodgerblue solid;*/
				background: dodgerblue;
				color: #fff;
			}
			
			.m {
				overflow: hidden;
				padding: 0 10px;
				border-bottom: solid 5px #f2f2f2;
				margin: 10px 0;
			}
			
			.kin {
				overflow: hidden;
				margin-bottom: 5px;
			}
			
			.kin img {
				width: 30px;
				height: 30px;
				float: left;
			}
			
			.kin div {
				float: left;
				line-height: 30px;
				margin-left: 10px;
				font-size: 16px;
				color: #333;
			}
			
			.fl {
				float: left;
				color: #666;
			}
			
			.fr {
				float: right;
				color: #f60;
			}
			
			.kin1 {
				overflow: hidden;
				line-height: 30px;
				border-bottom: 1px dashed #F2F2F2;
			}
			
			.kin1:last-child {
				border: none;
			}
			
			.ss .ss1 {
				display: block;
				width: 50%;
				height: 45px;
				background: dodgerblue;
				position: absolute;
				z-index: -1;
			}
			.q{
				position: relative;
			}
			.q .q1{
				display: block;
				left: 0;
				position: absolute;
				top: 0;
				width: 100%;
				z-index: 1;
				background: #fff;
				display: none;
				box-sizing: border-box;
			}
			.q .ac{
				z-index: 2;
				display: block;
			}
			.bi{
				overflow: hidden;
				box-sizing: border-box;
				/*margin-bottom:10px;*/
				/*background: #ddeeff;*/
				border-bottom: solid 1px #F2F2F2;
			}
			.knn{
				overflow: hidden;
				margin-top: 10px;
			}
			.bi div:nth-child(2){
				/*color: #fff;*/
				float: left;
				line-height: 50px;
				color: #666666;
			}
			.
		</style>
	</head>

	<body>
		<div class="ss">
			<div class="ac">积分规则</div>
			<div>会员等级</div>
			<span class="ss1"></span>
		</div>
		<div class="q">
			<div class="q1 ac">
				<div class="m">
					<div class="kin">
						<img src="/public/images/qd.png" />
						<div>签到</div>
					</div>
					<div class="kin1">
						<div class="fl">首次签到</div>
						<div class="fr">+10</div>
					</div>
					<div class="kin1">
						<div class="fl">日常签到</div>
						<div class="fr">+3</div>
					</div>
				</div>
				<div class="m">
					<div class="kin">
						<img src="/public/images/qd2.png" />
						<div>发帖</div>
					</div>
					<div class="kin1">
						<div class="fl">首次发帖</div>
						<div class="fr">+10</div>
					</div>
					<div class="kin1">
						<div class="fl">日常文字帖</div>
						<div class="fr">+3</div>
					</div>
					<div class="kin1">
						<div class="fl">图片帖</div>
						<div class="fr">+4</div>
					</div>
					<div class="kin1">
						<div class="fl">视频贴</div>
						<div class="fr">+5</div>
					</div>
					<div class="kin1">
						<div class="fl">日常回帖</div>
						<div class="fr">+2</div>
					</div>
				</div>
				<div class="m">
					<div class="kin">
						<img src="/public/images/qd3.png" />
						<div>分享</div>
					</div>
					<div class="kin1">
						<div class="fl">首次分享</div>
						<div class="fr">+5</div>
					</div>
					<div class="kin1">
						<div class="fl">日常分享</div>
						<div class="fr">+1</div>
					</div>
				</div>
			</div>
			<div class="q1">
				<div class="knn">
					<div class="bi">
						<img src="/public/images/Vip1.png" style="float: left; width: 50px;"/>
						<div>100-600积分</div>
					</div>
					<div class="bi">
						<img src="/public/images/Vip2.png" style="float: left; width: 50px;"/>
						<div>600-1800积分</div>
					</div>
					<div class="bi">
						<img src="/public/images/Vip3.png" style="float: left; width: 50px;"/>
						<div >1800-6500积分</div>
					</div>
					<div class="bi">
						<img src="/public/images/Vip4.png" style="float: left; width: 50px;"/>
						<div>6500-21000积分</div>
					</div>
					<div class="bi">
						<img src="/public/images/Vip5.png" style="float: left; width: 50px;"/>
						<div>21000-60000积分</div>
					</div>
					
				</div>
			</div>
		</div>
	</body>
	<script>
		$(".ss div").click(function() {
			var that = this;
			var index = $(that).index()
			if(index == 0) {
				$(that).addClass("ac").siblings().removeClass("ac")
				$(".ss1").stop().animate({
					left: "0"
				}, "slow")
				$(".q .q1").eq(index).addClass("ac").siblings().removeClass("ac")
			} else {
				$(that).addClass("ac").siblings().removeClass("ac")
				$(".ss1").stop().animate({
					left: "50%"
				}, "slow")
				$(".q .q1").eq(index).addClass("ac").siblings().removeClass("ac")
			}
		})
			
	</script>

</html>